
import 'package:core_foundation/model/model_user.dart';
import 'package:core_foundation/redux/reducer/reducer_theme.dart';
import 'package:core_foundation/redux/reducer/reducer_user.dart';
import 'package:flutter/material.dart';
class StateApp {
  User user;
  ThemeData themeData;

  StateApp({this.user, this.themeData});
}


StateApp reducerAppState(StateApp state, action) {
  return StateApp(
    user: reducerUser(state.user, action),
    themeData: reducerTheme(state.themeData, action)
  );
}